package com.educate.upms.dao;

import com.educate.upms.dao.impl.UpmsLogDaoImpl;
import com.educate.upms.model.bo.UpmsLogBO;
import com.educate.upms.model.po.UpmsLog;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UpmsLogDao extends MongoRepository<UpmsLog, String> {

    /**
     * #{@link UpmsLogDaoImpl#query(UpmsLogBO, Pageable)}
     */
    Page<UpmsLog> query(UpmsLogBO bo, Pageable pageable);
}
